﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Utility.NodeGraphs
{
	public class TreeNodeGraph : NodeGraph
	{
		public virtual TreeNode RootNode => nodes.Find (node => (node as TreeNode)?.isRoot ?? false) as TreeNode;
		public bool RootNodeExist => RootNode != null;

		public Vector2 nodePadding = new Vector2 (80, 20);

		public override void Clear ()
		{
			base.Clear ();
		}

	
	}
}